Resource URL: /platform/<<version=3>>/local/cluster/nodes/<LNN>/drives-purposelist

    Overview: This resource provides a list of the purposeswhich can be applied
              to drives in this node.  The list also contains a description of
              each possible drive purpose.

     Methods: GET

********************************************************************************

Method GET: Lists the available purposes for drives in this node.

       URL: GET
            /platform/<<version=3>>/local/cluster/nodes/<LNN>/drives-purposelist

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "nodes": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "Information about this node's drive purposes.", 
            "properties": {
              "lnn": {
                "type": "integer", 
                "description": "Logical Node Number (LNN) of this node."
              }, 
              "id": {
                "type": "integer", 
                "description": "Node ID (Device Number) of this node."
              }, 
              "purposes": {
                "items": {
                  "type": "object", 
                  "description": "Purpose information.", 
                  "properties": {
                    "purpose": {
                      "type": "string", 
                      "description": "String representation of this purpose for API use."
                    }, 
                    "purpose_description": {
                      "type": "string", 
                      "description": "A description of this purpose."
                    }
                  }
                }, 
                "type": "array", 
                "description": "List of the drive purposes available on this node."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "total": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Total number of items available.", 
          "maximum": 4294967295
        }
      }
    }
  ]
}
